home *** CD-ROM | disk | FTP | other *** search
- _root.setFrame(this);
- onEnterFrame = function()
- {
- _root.checkFrame(this);
- _Y = -10;
- _X = random(Stage.width);
- num = random(100 - _root.level);
- nump = random(_root.level * 600);
- if(num == 1)
- {
- _root.depth = _root.depth + 1;
- _root.attachMovie("bloop","bloop" + _root.depth,_root.depth);
- eval("_root.bloop" + _root.depth)._x = _X;
- eval("_root.bloop" + _root.depth)._y = _Y;
- }
- if(nump == 1)
- {
- _root.depth = _root.depth + 1;
- _root.attachMovie("powerup","powerup" + _root.depth,_root.depth);
- eval("_root.powerup" + _root.depth)._x = _X;
- eval("_root.powerup" + _root.depth)._y = _Y;
- }
- };
-